package com.leesche.zcsp.node.web.controller.wechat.bind.v2;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by dennies yang  on 2017-01-04.
 * <p>工厂使用时绑定设备码/  设备简码，支付码  以及流量卡图片,通过cookie方式记录</p>
 */
@Controller
@RequestMapping(value = "/wechat/bind/login/v2")
public class BindLoginV2Contoller {
    //登录界面
    private  static  final String  LOGINVIEW="wechat/bind/login/v2/mainView";

    /**
     * 登录界面
     * @return
     */
    public String showView(HttpServletRequest request, HttpServletResponse response){
        //根据coolie读取是否自动登录


        return LOGINVIEW;
    }

    /**
     *
     */
    public Map<String,Object> login(){

        return null;
    }

}
